
<table style="margin-top: 10px">
	<tr>
		<th width="40">序号</th>
		<th>流水号</th>
		<th>供应商</th>
		<th>事由</th>
		<th>币种</th>		
		<th>金额</th>
		
		<th>产品</th>
		<th>净重</th>
		<th>毛重</th>
		<th>备注</th>	
		<th>状态</th>
		<th>录入员</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result.item]} 
	{[assign var="no" value="`$key+1`"]}
	{[assign var="amount" value="`$amount+$item.amount`"]} 
	{[assign var="weight1" value="`$weight1+$item.weight1`"]} 
	{[assign var="weight2" value="`$weight2+$item.weight2`"]} 
	{[assign var="rmb" value="`$rmb+$item.rmb`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td>{[$item.id]}</td>
		<td>{[$item.supplier_t]}</a></td>
		<td>{[$item.name]}</td>
		<td>{[$item.currency_t]}
		<td>{[$item.amount|money]}</td>
		
		<td>{[$item.mold_t]}</td>
		<td>{[$item.weight1]}</td>
		<td>{[$item.weight2]}</td>
		<td>{[$item.content|truncate:21:"...":true]}</td>
		
		<td>{[$item.status_t]}</td>
		<td>{[$item.oper_t]}</td>		
	</tr>
	{[/foreach]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td colspan="5"></td>
		<td>{[$amount|money]}</td>
		<td></td>
		<td>{[$weight1|money]}</td>
		<td>{[$weight2|money]}</td>
		<td colspan="3"></td>
	</tr>
</table>